/**
 * LockboxTableCell
 * Secret Item Table Cell class
 *
 * Created by Nathan Black
 */
 
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "LockboxItem.h"

#define LTC_ROWHEIGHT       (58.0f)
#define LTC_ROWWIDTH        (300.0f)
#define LTC_MARGIN_Y        (5.0f)
#define LTC_MARGIN_X        (8.0f)
#define LTC_VALOFFSET_X     (20.0f)
#define LTC_VALOFFSET_Y     (25.0f)
#define LTC_PWOFFSET_X      (140.0f)
#define LTC_PWOFFSET_Y      (25.0f)
#define LTC_CARDOFFSET_X      (208.0f)
#define LTC_CARDOFFSET_Y      (25.0f)

@interface LockboxTableCell : UITableCell
{
    UITextLabel *_keyLabel;
    UITextLabel *_valueLabel;
    UITextLabel *_websiteLabel;
    UITextLabel *_expDateLabel;

    LockboxItem *_item;
    id _delegate;
}

+ (CGColorRef)colorWithRed:(float)red green:(float)green blue:(float)blue alpha:(float)alpha;
- (void)setItem:(LockboxItem *)newItem;
- (void)refresh;
- (void)setDelegate:(id)object;

@end
